Move the should_use_portal helper to gdk
authorMatthias Clasen <mclasen@redhat.com>
Thu, 1 Nov 2018 17:46:04 +0000 (13:46 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 4 Nov 2018 13:17:32 +0000 (08:17 -0500)
commit809966946641af27479fc3a9c349b03cf0fdd05d
tree05822c9704641ad3e483c4f8d3ef4cffa720fe24
parent1c465604d506c7a994891c8b2afdac126eb308d9
Move the should_use_portal helper to gdk

We want to use it there too, in the future.
Update all callers.
gdk/gdk-private.h
gdk/gdk.c
gtk/gtkapplication-dbus.c
gtk/gtkcolorpickerportal.c
gtk/gtkfilechoosernativeportal.c
gtk/gtkprintoperation-unix.c
gtk/gtkprivate.c
gtk/gtkprivate.h